package com.wuzu.ecommerce.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 场景运营(Scene)实体类
 *
 * @author jsm
 * @since 2023-03-26 17:23:18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_scene")
public class Scene implements Serializable {
    private static final long serialVersionUID = 309779139632363594L;
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 活动名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 活动类型
     */
    @TableField(value = "type")
    private String type;

    /**
     * 开始时间
     */
    @TableField(value = "start_time")
    private Date startTime;

    /**
     * 结束时间
     */
    @TableField(value = "end_time")
    private Date endTime;

    /**
     * 会员范围
     */
    @TableField(value = "range")
    private String range;

    /**
     * 状态，0代表已停用，1代表进行中
     */
    @TableField(value = "flag")
    private Integer flag;
}
